<body>
<h1>URL Demo </h1>
<form method="post" action="test2.jsp">
You selected  <%=request.getParameter("id")%>
<br/>
You clicked   <%=request.getParameter("btn")%>
<table>
<thead>
<tr>
<th>Id</th>
<th>name</th>
<th>web</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="test.jsp?id=1">1</a></td>
<td>tomcat</td>
<td>www.tomcat.com</td>
</tr>
<tr>
<td><a href="test.jsp?id=2">2</a></td>
<td>Jetty</td>
<td>www.Jetty.com</td>
</tr>
</tbody>
</table>
<input type="submit" name="btn" value="ok"></input>
<input type="submit" name="btn" value="cancel"></input>
</form>

</body>
